/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package main.java.cn.webrx;

import java.io.FileInputStream;
import java.util.Arrays;

/**
 * <p>Project: jse2204 - InputStream2
 * <p>Powered by webrx On 2022-09-22 10:21:34
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class InputStream2 {
    public static void main(String[] args) {
        try(FileInputStream fis = new FileInputStream("c:/abc/g1.jpg")){
            for (int i = 0; i < 1000; i++) {
                if(i%20 == 0 ){
                    System.out.println();
                }
                System.out.printf("%d ",fis.read());
            }
        }catch(Exception e){
        }
    }
}
